home *** CD-ROM | disk | FTP | other *** search
- Path: news.primenet.com!pdtaylor
- From: pdtaylor@primenet.com (Daniel L. Taylor)
- Newsgroups: comp.sys.amiga.hardware
- Subject: Re: More than one SCSI adaptor on the SCSI bus?
- Date: 4 Feb 1996 19:10:03 -0700
- Organization: Primenet Services for the Internet
- Sender: root@primenet.com
- Message-ID: <4f3otr$bpv@nnrp1.news.primenet.com>
- References: <DLzt6x.Mpt@uns.bris.ac.uk> <4ethrt$61f@tbd120.tbd.ford.com>
- X-Posted-By: pdtaylor@usr1.primenet.com
-
- Chris \"Big-Kahuna\" Rampson <crampson@ford.com> writes:
-
- >ph3037@irix.bris.ac.uk (C. Dew) wrote:
- >>
- >>I remember hearing a while ago that it was possible to put two or more scsi controllers on one
- >>scsi bus, so that scsi devices would be local to all machines connected.
-
- >It is possible, but the problem becomes "contention" - Which is when 2
- >controllers try to control the same device at the same time.
-
- No, contention is when two (or more) devices on the bus are attempting
- to gain control of the bus; this is handled with the priority arbitration
- scheme of SCSI (highest number wins).
-
- The biggest problem sharing devices when using personal-computer-
- class host adapters (and many workstation host adapters, too), is that
- most of them cannot be at any SCSI ID but 7, or at least the drivers
- don't allow it. If you have more than one ID available on an adapter,
- then sharing CDROM drives is trivial, since they're read-only. Tape
- drives are not hard, but require some courtesy not to write on or space
- someone else's tape. Disks can be difficult if the directory information
- is cached, rather than kept up-to-date on the drive, but there should
- only be one system with write priviledges. Each SCSI-II drive keeps
- track of the ID of the device that issued the Command Descriptor Block
- (CDB) and returns data and status to that device. In some systems that
- share devices the SCSI "RESERVE UNIT" command (supported by most disks,
- and many other devices) allows one ID (preferably a host adapter) to
- request that another ID refuse to service any ID but the one issuing the
- command, until either a "RELEASE RESERVATION" command or SCSI bus RESET.
- The only other consideration that causes problems is that the host
- adapters drivers have to know what to do if they are selected as a
- target (peripheral) device. If they do not have real target functions,
- which some do, then they should not crash the machine selected nor
- violate the SCSI protocol getting out of the selection. This selection
- attempt is common, for example Asimware's "SCSI_Inquire", CBMs "HDToolBox",
- and almost everyone's boot code scan the bus for devices to use.
-
- There are many companies that share SCSI peripheral CDROM, tape, printer,
- and scanner devices, using host adapters that permit IDs other than 7.
- One of the attractions of the "wide" SCSI-II devices is that there can
- be 16 device IDs, if every device is wide.
-
- Regards,
-
- Dan
-
- --
- -------------------------------------------------------------------------------
- pdtaylor __ __ ____ ___ ___ ____
- pdtaylor@primenet.com /__)/__) / / / / /_ /\ / /_ /
- / / \ / / / / /__ / \/ /___ /-------------------------------------------------------------------------------
-